package com.example.mapper;

import com.example.entity.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Auther: Nostalgia
 * @Date: 2020/6/16 09:48
 * @Description:
 */
@Mapper
public interface UserMapper {
    int register(User user);

    int getUsername(String username);

    int getPhone(String phone);

    User getUserByUsername(String username);

}
